package ua.soso.dao.model;

/**
 * Created by Babka Aleksey
 * Date: 20.04.12
 */
public class Message implements IdBean<Long> {
    private Long id;
    private String text;
    private File file;
    private User user;

    @Override
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
